<?php get_header(); ?>

	<div id="content" class="column">

		<?php if (have_posts()) : ?>
			<?php while (have_posts()) : the_post(); ?>
				<?php get_template_part( 'content', get_post_format() ); ?>
			<?php endwhile; ?>

				<p>
					<span class="next"><?php previous_posts_link(__('Next page', 'bito')) ?></span>
					<span class="previous"><?php next_posts_link(__('Previous page', 'bito')) ?></span>
				</p>

		<?php else : ?>

				<h2><?php _e('Page not found', 'bito'); ?></h2>
				<p><?php _e('Sorry, no posts matched your criteria.', 'bito'); ?></p>

		<?php endif; ?>

	</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
